const http = uni.$u.http


//获取所有未禁用的一级分类
export function getTopLevelListApi(){
	return http.get('/api/Classify/GetTopLevelList')
}
//获取所有未禁用的二级分类
export function getTwoLevelListApi(){
	return http.get('/api/Classify/GetTwoLevelList')
}

//获取传入的一级分类所属的二级分类数据
export function getSubordinatelListApi(id){
	return http.get('/api/Classify/GetSubordinatelList?id='+id)
}